{% if book.review %}
    <div class="book">
        <h3>
            <a href="{% url 'book-detail' book.pk %}">name: {{ book.title }}</a>
        </h3>
        <p>
            By {% for author in book.authors.all %}
                    <a href="{% url 'author-detail' author.pk %}">
                        {{ author.name }}
                    </a>
             {% endfor %}
        </p>
        {% if book.is_favourite %}
            <p class="highlight">this book is my favourite</p>
        {% endif %}
        <p>Bookreview: {{ book.review|linebreaks }}</p>
        <p class="meta">
           Reviewed on <strong>{{ book.date_reviewed|date:"D d M Y" }}</strong>
            {% if book.reviewed_by %}
                by <stron>{{ book.reviewed_by.get_full_name|default:book.reviewed_by.username }}</stron>
            {% endif %}
        </p>
    </div>
{% endif %}
